package first;

public class tj {
public static void main(String args[]) {
	int a,b;
	a=10;
	b=(a==1)?20:30;
	System.out.println("b="+b);
	b=(a <= 10)? a+1:10;
	System.out.println("b="+b);
}
}
